package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdSensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;
import io.swagger.models.auth.In;

public interface WmSensitiveService extends IService<WmSensitive> {


    /**
     * 敏感词列表分页查询
     * @param dto
     * @return
     */
    public ResponseResult list(WmSensitiveDto dto);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    public ResponseResult delSensitive(Integer id);


    /**
     * 新增敏感词
     * @param adSensitiveDto
     * @return
     */
    public ResponseResult saveSensitive(AdSensitiveDto adSensitiveDto);

    /**
     * 修改敏感词
     * @param adSensitiveDto
     * @return
     */
    public ResponseResult upDateSensitive(AdSensitiveDto adSensitiveDto);

    /**
     * 查询所有敏感词
     * @return
     */
    public ResponseResult findList();
}
